package Client;

public class Triple {

        private String first;
        private Long tird;
        private Long second;

        public String getFirst() {
                return first;
        }

        public void setFirst(String first) {
                this.first = first;
        }

        public Long getTird() {
                return tird;
        }

        public void setTird(Long tird) {
                this.tird = tird;
        }

        public Long getSecond() {
                return second;
        }

        public void setSecond(Long second) {
                this.second = second;
        }

        public Triple() {
			this.first = null;
			this.second = this.tird = null;
		}

        public Triple(String first, Long tird, Long second) {
                this.first = first;
                this.tird = tird;
                this.second = second;
        }
        
        public Triple(String first, Long second) {
                this.first = first;
                this.tird = null;
                this.second = second;
        }
        
        public boolean equals(Triple t){
        	
        	if(this.first == t.getFirst() && this.second == t.getSecond() && this.tird == t.getTird())
        		return true;
        	else
        		return false;
        }
}